<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@taglib prefix="s" uri="/struts-tags"%>
 <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<meta name="author" content="Luka Cvrk (www.solucija.com)" />
	<script type="text/javascript" src="recruit/jquery.js"></script>
<script type="text/javascript">
function cleanDiv(){
	document.getElementById('l1').innerHTML="";
}
$(document).ready(function(){
	
	$("#compn").blur( function () { 
		
		if(document.getElementById('compn').value.length!=0){
				$.ajax({
					   type: "POST",
					   url: "checkCompanyName.action",
					   data: {jsonString: $("#compn").val()},
					   success: function(returnMassage){
					    	    document.getElementById('l1').innerHTML=returnMassage;
					    }
				});			   
		}		  
	});
});
</script>
	<link rel="stylesheet" href="image_css/style.css" type="text/css" />
	<title>找工作</title>
</head>
<body>
<div id="content">
		
					
		<div id="tabs">
			<ul>	
				<li></li>
				<li><a class="current" href="login.action" accesskey="v"><span class="key">首页</span></a></li>
				<li><a href="browseCompany.action" accesskey="r"><span class="key">浏览</span>信息</a></li>
				<li><a href="toEditCompany.action" accesskey="i"><span class="key">编辑</span>信息</a></li>
				<li><a href="browseRecruit.action" accesskey="d"><span class="key">查看</span>信息</a></li>
				<li><a href="editRecruitInfo.action" accesskey="a"><span class="key">应聘</span>信息</a></li>
				<li><a href="#" accesskey="a"><span class="key">关于我们</span></a></li>
			</ul>
			<div id="search">
				<form method="post" action="search.action">
					<p>职位搜索
					  <input type="text" name="keyword" class="search" /> <input type="submit" value="Search" class="button" /></p>
				</form>
			</div>
		</div>
					
		<div class="gboxtop"></div>
		<div class="gbox">
			<p><a href="#">Lorem ipsum dolor</a> sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex. Ut wisi enim ad minim veniam, quis nostrud <a href="#">exerci tation</a> ullamcorper suscipit lobortis nisl ut aliquip ex.</p>
		</div>
		
		<div class="left">
			<div class="left_articles">
				<div class="buttons"><p><a href="#" class="bluebtn">Read</a> <a href="#" class="greenbtn">Mark</a></p></div>
				<div class="calendar"><p>NOV<br />13th</p></div>
				<h2>招聘信息详情</h2>
				<hr/><br/>
<table>
	<tbody>
	<tr><td colspan="2" align="center">公司信息</td></tr>
	<tr><td>名称</td><td>${recruit.companyId.companyName }</td></tr>
	<tr><td>地址</td><td>${recruit.companyId.companyAddress }</td></tr>
	<tr><td>联系人</td><td>${recruit.companyId.companyLinkMan }</td></tr>
	<tr><td>联系电话</td><td>${recruit.companyId.companyPhone }</td></tr>
	<tr><td>Email</td><td>${recruit.companyId.companyEmail }</td></tr>
	<tr><td>网址</td><td>${recruit.companyId.companyUrl }</td></tr>
	<tr><td>详细描述</td><td>${recruit.companyId.companyDescription }</td></tr>
	<tr><td colspan="2" align="center">招聘信息</td></tr>
	<tr><td>招聘职位</td><td>${recruit.recruitPosition }</td></tr>
	<tr><td>招聘人数</td><td>${recruit.recruitCount }</td></tr>
	<tr><td>工作经验要求</td><td>${recruit.recruitSeniority }</td></tr>
	<tr><td>外语要求</td><td>${recruit.recruitForeiLanguage }</td></tr>
	<tr><td>学历要求</td><td>${recruit.statusId.statusName }</td></tr>
	<tr><td>工作地点所在城市</td><td>${recruit.cityId.cityName }</td></tr>
	<tr><td>发布时间</td><td>${recruit.recruitDate }</td></tr>
	<tr><td>其他要求</td><td>${recruit.recruitDescription }</td></tr>
	</tbody>
	</table>
	<c:if test="${isShow}">
	<a href="onjob/showall.action?recruit.id=${recruit.id}">投递简历</a>	</c:if>
		  </div>
					
			</div>
		<div id="right">
			<div class="boxtop"></div>
			<div class="box">
				<img src="image_css/images/image.gif" alt="Image" title="Image" class="image" /><b><br/><h2>招聘信息详情</h2></b><br />
				<hr/>
				
				
			</div>
			
			<div class="boxtop"></div>
			<div class="box">
				<p><img src="image_css/images/image.gif" alt="Image" title="Image" class="image" /><b>Lorem ipsum dolor sit amet</b><br />consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis.<br /></p>
				<div class="buttons"><p><a href="#" class="bluebtn">Read</a> <a href="#" class="greenbtn">Mark</a></p></div>
			</div>
		</div>	
		
	</div>
</body>
</html>